package com.flower.service;

import com.flower.model.dto.SalePageQueryDTO;
import com.flower.model.entity.Sale;
import com.flower.result.PageResult;
import com.flower.result.SalePageResult;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName SaleService
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/17 12:58
 *@Version 1.0
 */

public interface SaleService {
    PageResult getSaleList(SalePageQueryDTO salePageQueryDTO);

    void addOrUpdate(Sale sale);

    void deleteSale(Integer id);

    void deleteSaleList(List<Integer> ids);

    PageResult  getPassSale(Integer pageNum, Integer pageSize);

    List<Sale> list();
}
